<?php if ( ! defined('DIR')) exit('No direct script access allowed');

	class indexControl extends Control{
	
		public function __construct(){
			parent::__construct();
		}
		public function index($arg1=null,$arg2=null){
			echo "这是index控制器 index方法<br>";
			$this->load->module('index');
			$this->index->test();
			
			$this->mysql->conn("localhost","root","");
			$this->mysql->choose_db("easymvc");
			$res=$this->mysql->query('select * from testTable');
			
	}
		
		public function test(){
			echo "这是index控制器 test方法<br>";
		}
		
	}
	
